package com.ruoyi.schoolSys.domain;

import java.sql.Time;
import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 上下班时间对象 attend_time
 * 
 * @author ruoyi
 * @date 2024-02-21
 */
public class AttendTime extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @Excel(name = "")
    private Long id;

    /** 上课时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "上课时间", width = 30, dateFormat = "HH:mm:ss")
    private Time attendTime;

    /** 放学时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "放学时间", width = 30, dateFormat = "HH:mm:ss")
    private Time overTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAttendTime(Time attendTime)
    {
        this.attendTime = attendTime;
    }

    public Time getAttendTime()
    {
        return attendTime;
    }
    public void setOverTime(Time overTime)
    {
        this.overTime = overTime;
    }

    public Time getOverTime()
    {
        return overTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("attendTime", getAttendTime())
            .append("overTime", getOverTime())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
